//
//  UtilsDefine.h
//  NewPrimaryJapanese
//
//  Created by carlos on 12-8-31.
//  Copyright (c) 2012年 carlos. All rights reserved.


//工具类
#define kUMyAppDelegate 	((AppDelegate*)[[UIApplication sharedApplication] delegate])

//释放对象
#define clearBgColor(view) view.backgroundColor = [UIColor clearColor];
//把unicode编码转换成utf-8
#define unicode(value) [ValueUtil replaceUnicode:value]

#ifdef DEBUG
#   define ISDEBUG ISTest
#else
#   define ISDEBUG YES
#   define CLog(...) 
#endif
#define ALog(...) NSLog(__VA_ARGS__)




#define k_app_id 10000//用来打分的

#define k_comment_url [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d",k_app_id]

#define kUAppPocketwenzhouUrl [NSString stringWithFormat:@"https://itunes.apple.com/us/app/zhang-shang-wen-zhou/id%d?ls=1&mt=8",k_app_id]



